<?php

namespace addons\csmitsm\library\xcore\xcflow\utils\xcformfields\xcchart\base;

use addons\csmitsm\library\sdnode\xstack\utils\XsJsonUtils;

abstract class XcflowAField
{
    protected $xcfieldjsonObj = null;
    protected $fieldjsonobj = null; 
    public function __construct($xcfieldjsonObj)
    {
        $this->xcfieldjsonObj = $xcfieldjsonObj;
        // $this->fieldjsonobj = json_decode($xcfieldjsonObj['fieldjson'], true);
        $this->fieldjsonobj = XsJsonUtils::stringToJson($xcfieldjsonObj['fieldjson']);
    }

}
